package com.studorm.vo;


import java.text.SimpleDateFormat;
import java.util.Date;

public class Kuaijian {
	private String dormBdName;
	private String dormNum;
	private String stuNum;
	private String stuName;
	private Date arrivalTime;
	private Date signforTime;
	private  int issignin;
	private int id;
	
	public void setDormBdName(String dormname)
	{
		dormBdName = dormname;
	}
	
	public void setDormNum(String dormnu)
	{
		dormNum =  dormnu;
	}
	
	public void setStuNum(String stunum)
	{
		stuNum = stunum;
	}
	
	public void setStuName(String stuname)
	{
		stuName = stuname;
	}
	public void setArrivalTime(Date arrivaltime)
	{
		arrivalTime = arrivaltime;
	}
	
	public void setSignforTime(Date signfortime)
	{
		signforTime = signfortime;
	}
	
	public void setId(int id)
	{
		this.id=id;
		
	}
	
	public void setIssignin(int sign)
	{
		issignin = sign;
	}
	
	public String getDormBdName()
	{
		return dormBdName;
	}
	
	public String getDormNu()
	{
		return dormNum ;
	}
	
	public String getStuNum()
	{
		return stuNum;
	}
	
	public Date getArrivalTime()
	{	
		/*if(arrivalTime==null)
		{
			return null;
		}
		else
		{
			SimpleDateFormat dateformat2=new SimpleDateFormat("yyyy年MM月dd日 HH时mm分ss秒 ");   
			String a2=dateformat2.format(arrivalTime);
			return a2;
		}
		*/

		return arrivalTime;
	}
	public Date getSignforTime() //getSingforTime 写错
	{		
			/*
			if(signforTime==null)
			{
				return null;
			}
			else
			{
				SimpleDateFormat dateformat2=new SimpleDateFormat("yyyy年MM月dd日 HH时mm分ss秒 ");   
				String a2=dateformat2.format(signforTime);
				return a2;
			}*/
		return signforTime;
	}
	
	public String getIssignin()
	{
		if(issignin==1)
		{
			return 	"已领取";
		}
		else 
		{
			return "未领取";
		}
	}
	
	public String getStuName()
	{
		return stuName;
	}
	
	
	public int getId()
	{
		return id;
	}
}
